from rest_framework import serializers
from home.models import NavModel


class NavSerializer(serializers.ModelSerializer):
    class Meta:
        model = NavModel
        fields = ['name', 'link', 'is_http']
